sample code for bdd session