support for more complex variations of exponents