simple. first of all no smart phones to school rule. have like a reception or some shit where kids come in and hand in their phone in the morning and get the phone back when theyre leaving. second. if you have an it class with kids once a week tell the principle you need an hour more every week in the afternoon in the computer lab. offer the kids to come and do their homework in the computer lab where you will be present. not so much because you have to do anything, but just to create a serious environment where they can come and get their homework done if they find it too distracting to study at home. explain to them that doing their homework in the library or somewhere similar is best because their brain associates home with leisure and distractions. sell it to the principle as it not just being good for your class but it builds the kids learning the concept of homework and how to study which will benefit all classes.
Denmark