implemented pretty print
passing arguments to pretty print