added statistics utils