Moved debug output