inferno rewrite