added initial version of the code for statistics-year tab creation