public static Set<String> asSet(Collection<Variable> second) {
        final HashSet<String> strings = new HashSet<>();
        for (Variable variable : second) {
            strings.add(variable.getName());
        }
        return strings;
    }
public static Set<String> asSet(Collection<Variable> second)