debugging code -- results encouraging