Added preamble and postamble