linked up all the pages