change ds to vector