vector<double> works