pearlman to peas and queues