Solved peptide encoding problem