stable version in simulation: semantic parser