Reviewing the code of variable declaration