added buttons and pages and views