[new] conditional mb based on template