dictionary - set object for key method