modified line 652 type of print