using the link list