minor add on rewrite engine section