main regression analysis start