added statistics to the application