some code. much loathing.