Added the first-stage parser