minor code reformatting for display