Changed calculating methof for addition