edited year component for timelag function