started working on the bdd-add version as well