handle complete sample lines