remove .keys() to impove performance