An unfolded polypeptide enters the GroEL subunit. A GroES subunit attaches to one end (with hydrolysis of 7 ATP molecules), causing GroEL to change shape and creating a hydrophilic environment that leads to protein folding. Once folded, another GroES attaches to the other side and the protein is released.