on the fly we can set sync/async commit flag