Added assigning to collectives