when reading code, make sure it's a correct doubly linked list