Tried avoiding rewrite