removed network code