add methods to linked list