"hence the keys() usage"? I'm not sure exactly what you're referring to with "key".