rewrite spotter