Make goal_is_hot function work