improved get_object