public boolean valid() {
        int tmp = current;
        while (tmp > 0) {
            int ttmp = tmp % 10;
            if(ttmp == broken)
                return false;
            tmp = tmp / 10;
        }
        return true;
    }