Added way to handle exponents