properly selecting the year