synchronize working on transaction functions