implemented suggested changes to biSBM