added basic maths funcitonality