add new pages and ball class