new input_phred detection