some work to lay the ground for the Rollback command