test with input the rest lines