added multiple linked list functions