So in the same way that it's the hydrophobic effect that allows the protein structure to basically form into its three dimensional shape and it's the hydrophobic effect that allows the nucleic acids to basically aggregate and form the double helix of DNA.