improved protocol security