created year specification and functionality to choose a single year