working on pretty print