Add function correctYear