declaring local variable final