applied source formatting to classes