getting pages and urls mapped out