rename transform method and update annotations