remove the instance delegation out of the transform method