moved debug