doubles changed to BigDecimal