Maintaining discipline in classroom instruction