add modifications by Ben Orenstein
Merge remote-tracking branch 'github/master'