made front page dynamic