added collection class, ref #90