main and customcorrrespestim