diff and prob