adding some new methods for double linked lists