adding an object