more functionality, linear fit option