added debug info per #330