Completed the queue functionality and design