also include bmem.h in the header, minor oversight