first edits to mixing.rb