Create bf-functions.R