randObject() working