Implemented rollback