add equavalent tcl for creating BD