replace line with print