assign objects to dictionary items