changes to doubly linked lists