declare above variable as closed as first used.