need to sort out the passing around of collections