Rewrite of output