create a collection class