refactor year to string