rename/privatize
perform comparison and create delta in a single pass