updated formatting to make style more consistent