if debug added to all classes