change int to unsigned int for vectors