fixed pointers to save doubly linked list