This changes most instances of var to explicit var type for clarities sake...