Implementing Statistics part