Fixed and added some communication stuff for DBM