debug added instead of inc