statistics implementation - main page