rewrite 5