template for bb, closed #2