added toArray for coll, ref #90