Code snippets from the DA's office