chnaging to vector