functionning Version for MyTransaction class (Bach)