added exponent and transpose