reformatted code refs #60