Front end implementation for queues