rewrite 017