change names to conform to Dequeue interface