change from set to setlocal