minor code reformatting