change goal to variable