Change Set<location> to List<Location>