Herp derp, using variables before they're set...