hook in the correct links