tweaked image paper code