tweaked BEM notes