add `transform` method