Setting default value of goalType