First implementation of rollback