auxiliar recursive function is nwo local