declare variables at top of methods