Add dequeuing feature