added basic math pluging and fixed some fomating