have exp return nuumber if base and exponent are numbers