adds average line