A code sample from one of my current projects, "Detonate"