added the pages corresponding to links made