refactored parser to follow conventions in contributing.md