Making yearView work with the current version