adds debug print from assig11