added reverse method for changes