move this variable declaration up rather than repeat it.