use setlocal instead of set