using hidden api features from sequel-factory