initilizing statistics