pass service name as string