Handles incomplete lines