changed to vector of Ints