added linked list for kernel