finished the main page