upgraded calculator
class created