use setlocal to modifiable and nomodifiable