added linked list capability