removed un-needed link function