added exceptions and page request