Needed and addtional foreach loop to get the links