statistics of data functions added