got pretty print working...need more testing though...