create statisticain class, to complete later.