added nftw logic for recursion, working on correct display code