implemented LAN support