intent now returns an ArrayList<String>