removed .keys() in comparison