debug purhcases