the randomization in this entire codebase is a grand experiment in stupid