dear god, this codebase