rendering of subgoals