linked list traverse backend prototype