worked on pretty print. added conditional compilation.