improved a variable declaration