updated code for HideGoal_Evaluator and Goal_Hide