layout of main page is almost finished