[#83276008] switch to 'local' instead of 'declare'