renamed function in peptide class