added ttree output for debugging