The shape of a protein in its functional mode is its teritiary structure, determined largely by primary structure, positively charged regions attract and bind to negatively charged regions and hydrophobic R groups interact and form water-free pockets inside the folded protein. Cysteines may link to protein, together with disulphide bonds.