Simplyfies setlocal