tx management part 1
refactoring specs