integrating salvage check in other fxns and testing