added statistics to view