add debugprinter (forgotten)