As the bell sounds to announce the start of third period, teachers at Belmont Academy are stationed all along the corridor, manning their classroom doors with big plastic boxes.
The pupils say good morning and as part of a "phone-free classroom" policy, they then deposit their phones in a rectangular foam slot within the box before entering the room.
The box is then locked away until the lesson is over.
"It's genuinely been the best thing we've ever done", says Lynsey Pollock, the principal teacher of social subjects at the school in Ayr.