added keys func