updated code...for network svc