more work on prototype parser