adding dequeue and enqueue