add transform method to stageRunner