commiting in shared direcly