The basic plot pattern in a mystery is simple. Somebody is killed (or kidnapped). The Lead character has a reason to solve the murder. Sometimes it’s his job. Other times because it’s personal. The Lead asks a lot of questions, and gets a lot of the runaround. In the hard-boiled genre, he may also get beaten up, or shot. The Lead eventually solves the case.