Massive slew of code