working on the main page