began writing network code