added sync bytes to protocol