WIP: working parser at reasonable speed
RF: attempt to refactor making parser