public Genre analyzeBook(Book book) {
        // This is a fake genre analyzer, do not take the following serious
        Genre genre = Genre.NA;
        String details = book.getDetails();
        if (details != null) {
            if (containsKeyword(details, romanceKeyWord)) {
                genre = Genre.ROMANCE;
            } else if (containsKeyword(details, comedyKeyWord)) {
                genre = Genre.COMEDY;
            } else if (containsKeyword(details, horrorKeyWord)) {
                genre = Genre.HORROR;
            } else if (containsKeyword(details, actionKeyWord)) {
                genre = Genre.ACTION;
            } else if (containsKeyword(details ,fictionKeyWord)) {
                genre = Genre.FICTION;
            }
        }
        return genre;
    }