added missing DEBUG block