Adding Salakhutdinov DBM code