remveo uesless code
now use the bdd to write this tool