my network code with block