changed type of parameter to a generic id for implied NSDictionary cocktail