update: replace "goal" with "phase" etc.