declare local variable scope

Looks like the semicolons are typos, and that you intended to declare each variable locally.