modified parser: left to right instead of shuffle