almost finished main page