changing to vector.push_back