added pi parser
closes issue #10