use plain double type now as it is no longer necessary to wrap things in a primitive<>