add year algorithm