HMM
 - debug output corrected