- proper recursive output now fixed