added statistics utility