renamed linkedlist to dequeue