This allowed women to separate from their husbands on the ground of cruelty and to secure custody of their children.