moved pretty print