we added a functions in GeneralStadistics