add BdOnly Function