re-defined pointsets as a std::vector type object