beginning implementation of queueing