edits to output2