working on math editor