Added Pretty Print function.