add ObjectDoublePair - saves a bit of memory