The described solution is very innovative and effective. You nailed it the way you described the incident with the help of all-time great character Sherlock Holmes.