add a method to rollback with the original value of the input