Reusable code for other bd modules