modified .y file passed all the testcase of step2 and step3