Folding of polypeptide chains induced by the amino acid side-chains