option to costrain by protocol