public String toString() {
        if (this.title != null && this.year != null) {
            return String.format("%s (%s)", this.title, this.year);
        } else {
            return "";
        }
    }