code reformatting according to revised format styling