main page mostly finished