updated case study contains from SinglyLinkedList