edit preamble for spacing, indention