recursion: cleanup and more comments