add netty code