Where communities are ethnically diverse their schools should aspire to reflect that diversity. However, it is unlawful for schools to take account of a child's ethnic background when allocating places. What is important is that all parents are able to exercise their fundamental right to decide what school they would like their child to attend confident that they will not be discriminated against because of their background. The new school admissions code, which came into force on 28 February 2007, has established a framework to ensure that every child has an equal opportunity to attend a good school. In addition, the governing bodies of maintained schools in England have a duty under section 38 of the Education and Inspections Act 2006 to promote community cohesion and Ofsted will report on the discharge of this duty.