add some netty code