exp: parses and pretty print