wrote main page and made others