edits debug printouts