prepare and commit handles
merge