change map to vector