rename allKeys, allValues to keysIn, valuesIn