init with middleman and bbb