second value must be double