Actually use transformation function that was passed