Well, for effective use of the five elements in writing, when it comes to characters, give them flaws and desires. For the plot, have a clear structure. Regarding the setting, describe it in detail so readers can picture it. Conflict should be relevant and drive the story. As for the theme, don't be too obvious, but let it shine through. For example, in a mystery story, the character of the detective could have a personal conflict related to his past, and the setting of a spooky old house adds to the atmosphere. The plot unfolds with clues and red herrings, and the theme could be about truth and justice.