handy statistics handling