save rewrite wip.