int nkeys;