added getObjets and editObject methods