Rewrite init