working on a simpler, manual parser