main underwriting tool