changed cotainsKey to retrieve