use bb for db