added new feature for bdd