MAJOR REFORMATTING