handle vectors of integers or symbols