entered Rewrite base