added functionality for Statistics