init from bbrdemo