switch to vector-in, vector-out