adding TransformSample