rewrite all specs