added exponent method