refactoring due to async loading of transaction