doubly linked list some changes