line reduce