protocol now configurable