added statistics using an alert dialog