everything for adding a commitment but get commit