make only addStage public