renamed debug mode