Prototype of the queue using the drafted API design