initial check in of rewrite