prepare for m2