added transform method