added compare to method to peptide