set locals