Declare variables on the same line where they're first defined, instead of at the top of the function.