finding correct protocol