added function _checkObjectInFirst (tested)