add queue and double linked list