added more methods to linked list