before reverting back