preparation for reverting