doing final checks and adjustments