Partially hydrolyzed polyacrylamide (PHPA) can be added to drilling muds to control wellbore shales. It is anionic, so it can bind to the cationic edges of the clay platelets, thus stabilizing it. It can also be used to extend bentonite clay in a low-solids mud.