added rounding of capital