Until recently , corporal punishment was widely used as a means of controlling disruptive behavior .
It is now illegal in most schools .
Until recently , corporal punishment was widely used as a means of controlling disruptive behavior but it is now illegal in most schools .