added linked list population and click events