I have an idea for a courtroom thriller but I am stuck on something that could be a plot hole or more than one plot hole. For the story premise I have, there will be twists and turns, and surprises, being unraveled in court. Such as a witness saying something the lawyers didn't expect, which send the case off in a whole new direction. This is done other books and movies. However, there is always this plot hole or gap of logic to be aware of. Why would the lawyers be surprised what a witness has to say, when they would have already interviewed the witness prior to court? If the story already starts out in court, this can be tricky. Since it's a screenplay, I tend to use movies as examples. One movie that comes mind is the movie Fracture (2007). I am not making a direction comparison, but more of a story structure observation. But there is a similarity between that and mine. In my story, the villain on trial, will need a way to exonerate himself and win the case. Or at least thinks he wins, but there is still something to use against him later. In Fracture, why did the villain, wait all the way until trial, before using his plan to exonerate himself? Why didn't he just tell the police that the detective who arrested him had an affair with the victim right in the police station? This would make it so the prosecutor wouldn't even go to trial in the first place. Why did the villain spend time in jail and wait until trial, instead of just explaining it right after being arrested? It's not just that movie though, it's other ones as well. In Sudden Impact, Dirty Harry is in court, at what looks like to be a trial, and they just discover that the evidence is tainted now, rather than before. But how do I write it so that it's believable to the audience, that such twists and surprises, were missed in the discovery process, when realistically they wouldn't be? Why do the villains wait, or why is the court not have seen such evidence yet before a trial? What is the trick to be mindful of, when creating suspension of disbelief, and have the plot still make sense? Thanks for the input and advice. I really appreciate it.