renamed endOfTheWorld to endOfPage