progress on bem - it seems it is working now