adds debugging lines