adds exponent and multi-question functionality