Added changes for reverting