removed 1000 objectForKey calls