another method declaration - calculation of yearly statistics