BCDF function

Internal Function