Added subgoaling to goal_provider