minor changes to the printing lines