hoisted the variable declaration inside of _configure