7/22/2014: re-written parser is going quite well. thank god for TDD