THE FUNCTION OF FINANCIAL SUPERVISION IN AVOIDING FINANCIAL CRISES