updated protocol and removed old backwards compatibility.