modified queuing for commit