preventing reassign of local vars