Subsection 1 provides: in criminal proceedings evidence of the defendant’s bad character is admissible if, but only if—  The Act made substantial reforms to the admissibility of hearsay evidence, building upon the reforms of the Criminal Justice Act 1988, which regulated use of business documents and absent witnesses. Various categories of the common law were preserved and the remainder abolished. A new power was incorporated to permit hearsay evidence if certain 'interests of justice' tests were met. Part 12 of the Criminal Justice Act made substantial amendments to nearly every part of sentencing practice, containing 159 sections and referring to 24 schedules. The regime set out in the Powers of Criminal Courts (Sentencing) Act 2000 was almost wholly replaced, even though it had only been passed three years previously and was itself coming slowly into force. The Act sets out in statute the principles underlying sentencing: punishment, crime reduction, reform and rehabilitation, public protection and reparation. These were previously part of the common law. The Act also created the Sentencing Guidelines Council to give authoritative guidance. The previous and varied types of community sentence (such as community punishment order, community rehabilitation order, drug treatment and testing order) have been replaced by a single "community order" with particular requirements, such as unpaid work, supervision, activity, curfew, exclusion, residence and others, alone or in combination with each other. The intent was to tailor sentences more closely to the offender. The previously deprecated "suspended sentence of imprisonment" returns, also allowing elements of a community order ("see above") to be imposed at the same time. This ensures the offender knows what sentence of imprisonment is facing him or her if he or she fails to comply with the order or commits a further offence during its suspended period. Provision is made for sentences of intermittent custody, and custodial sentences followed by period of community work and supervision. The Act replaced the previous law on the mandatory sentencing of defendants convicted of violent or sexual crimes, introducing compulsory life sentences or minimum sentences for over 150 offences (subject to the defendant meeting certain criteria). The Act created a new kind of life sentence, called "imprisonment for public protection" (or "detention for public protection" for those aged under 18), which may even be imposed for offences which would otherwise carry a maximum sentence of ten years. In response to unprecedented prison overcrowding, Parliament passed sections 13 to 17 of the Criminal Justice and Immigration Act 2008 (with effect from 14 July 2008), which imposed stricter criteria for the imposition of these sentences, and restored judicial discretion by providing that they were no longer compulsory when the criteria were met.