Moving Mth to the last