organize and comment up the snippet preamble