correct DoubleBooleanPair clasS