Corrections additions to main program...