another method for trend line.