Debug method changed