We will consider concerns from everyone and make sure the law meets the human rights standards," said Mohammad Qasim Hashimzai, Deputy Justice Minister. Shia clergy defended the new law, and felt that the international community has misinterpreted the legislation. A copy of the bill since it was originally drafted was changed. The age of marriage for women has been changed from nine years old to sixteen. The age at which a mother can keep custody of her daughter after a divorce was raised from seven to nine years old. Politicians in the lower house of Parliament was able to remove the law's stipulation for temporary marriages. Another amendment from the first draft was that a woman could leave the house without a male relative escort if she were to go to work, school or for medical treatment. Canadian International Development Agency CIDA provided funds to the Rights and Democracy organisation which advises Afghanistan on developing new family laws. Some aspects of the law that the staff thought would be repealed were the marriage of girls as young as nine years old to men and that wives did not need the man's permission to work.