get basic rollback functionality working