cleaned up debug statements from recursion