uh, if I'm going to send this code to people I may as well confess where I've written questionable code