adding TotalLines