changing transp function