Trying to use the visitor with the collections