I donno, I just prefer it this way because it's defined right next to where it's used, and i don't like it when the var statement at the top has a bunch of functions in there cuz it could get really long.