link list functionality completed