transformation of modulus function