added statistics class