re-organization; phred-scoring functions