added keys function v2.2