there was a clue to the murderer she had to add , but her main character , a female detective with a huge chip on her shoulder , needed to discover this one particular clue soon or the ending would n't work as well .