keeping track of links and link ids now