add bm and config