reinserted code for server lookup by name