first implementation of parsing appears to be working (not stress-tested yet)
testing parsing