We do not need the local $protocol variable anymore