final version

fixed debug helper and removed initial printing of list.