Rewrite inspect