Updated addGoal() function header

EV-527