looping through links and rendering links