text: It has several sub-genres , including detective fiction ( such as the whodunnit ) , legal thriller , courtroom drama and hard-boiled fiction .
simplified: It has several sub-genres , such as detective fiction , legal thriller , and courtroom drama .