began implementing rewrite rules