Made changes to create the list of links