worked on pretty print.