check_and_balance