edits to write the examples in fewer lines