change code output to pretty print