Define basic protocol