changed data structure to vector of strings