resolved the local variable declaration and expression statement