added basic calculator functions