expand functionality

added exponent support