add line breaks to print procedure