dequeue and yield implemented