reformatting to fit coding style