array -> vector