specs for custom transform method