when processing all values use processAllKeys method instead of getAllKeys()