How To Apply Transformations To A Function