change arraylists to vector