added average lines