added the exponent method