added extra debug info to sentence output