final edits to back end for M2