adds debugging info