trial3 modified to store and show improvements at each stage of discovery. Untested. trial4 - minor change