change function of syntax analysis, transmit **goals_achieved instead of *goals_achieved, create this stack on the parser side