home rewrite