function transformations examples