changed the prefix on bm* functions to as