added slope intercept