new pages and logic