front end for index page is relatively done now