commit delivery return index