adding superscript and subscript functionality.