rewrite embedded-form