dequeue takes one argument