Treating constipation using laxatives