a new method "convert" that casts collections from one type to another.