adding DataCollection class