Added year as an attribute of model