Added LAN code