pretty print and spacing for code readability