ted paid for the whole shindig , as hed included a clause in his will that when ( not if , because he had so much confidence in my abilities ) i had cracked the case and brought the perpetrator ( s ) to justice , i was to throw a celebration for all of the people whod worked so hard on the case .