actually rewrite front page