changing to vector