added math stuff; works for numbers only