added linked list handler