code now mixes in deltas