adding in code to parse through the link ids now