dequeue method also needs to be transformed