Capitilize BDF acronym in function names. Add documentation for  function