Handles malformed data better