translate in to vector