reformatting to fit coding standards