Removed unused year and name variables