added capture directives and bspanels