Add skeleton to linkedList function