removing rewrite from simple example