reformat code; turn off class access warnings