Initial Code for order queueing