updated to use bexamples