Truly troubled students who might have tendencies to resort to extreme violence against their peers and teachers cannot be stopped simply by a code of conduct. What a code of conduct can do, however, is help identify behavior patterns in children early on. A youngster who is constantly disrupting class and breaking rules is clearly having trouble adjusting, and the school can work with the youngster and the parents to identify the problem. The class bully needs to be disciplined, but without some sort of additional action (such as counseling) the discipline becomes merely punitive. Not every troubled student will react violently, of course, but that does not mean the school has no obligation to reach out and help when help seems appropriate. Regarding serious crime, students who commit felony offenses are removed automatically from most schools; if under age these individuals may be placed in a juvenile detention facility where they can continue their education; if over 16 they can be tried as an adult for their crimes and imprisoned if convicted.