moving deltas functionality out into deltas.rb
chicken, egg