added statistics snippet