a wild-west approach to wrangling some code