reverting the code