boolean get_ary improved