replaced obsolete method do_get_object