$namedservicename isn't defined?