reorganized code
mathexpression works pretty well