idxgen added to utils