preparing diff.