refactored TransformBase to BaseTransform