adding analyse statistics