added jae's linked list code