messy but functional implementation of evidence inspection