added fit and r sqr