added more linked list functions