added <math> tags wrapping the output