mainly front page implementation