Messy code FTW