almost done with main page