revamp dequeue