replace cList to std::vector