Kinross High School sent an embarrassment of swimming talent to represent it at the Scottish Schools National Relay Swimming Finals.
The event was held at the refurbished Royal Commonwealth Pool in Edinburgh with the school having a fine record at the event, winning double gold in two previous years.
The team this year consisted of Aaron Gillon, Cameron McCloskey, Conor McCormick and Cameron Nelson.
All did not go according to plan initially in the heat of the medley relay where they set a blistering pace only to be upstaged by Cults Academy from Aberdeen who finished 0.93 seconds ahead in 1.55.54.
In the final Gillon started in the backstroke and recorded a very quick 29.18 seconds but still only good enough to lie second.
Aaron handed over to McCormick and the breaststroke specialist managed 33.88 seconds but at the halfway stage it was not looking good as they lay some 2.69 seconds behind Cults.
Nelson then took over in his favourite butterfly event.
Even he could only manage to hang on despite a lightening quick 26.65 second leg.
Going into the last leg (freestyle) it all looked lost as Kinross were 2.79 seconds adrift.
The value of having four great swimmers then became very apparent as McCloskey had the swim of his life as he gained on the final Cults swimmer with every stroke.
In what was the most exciting race and finish of the whole day with the Kinross High School supporters going wild, he overhauled his prey with five metres to go to take a huge 1.5 off his best ever time in 25.42 secs to win gold for Kinross High School and to smash the Scottish Schools Team Championships record in 1.55.13.
There was little time to celebrate as the team knew they had a fight on their hands to beat Cults in the freestyle and they knew Strathallan also had a very strong team.
Kinross managed to qualify quickest in 1.44.55, just 0.16 seconds ahead of Cults.
McCormick led off and produced a superb personal best of 27.03 seconds.
McCloskey followed in another rapid 26.01 to leave Kinross in second but still 2.26 secs behind Cults.
Nelson was next up in an excellent 25.16, to leave Kinross 1.07 secs ahead and then Gillon produced a blistering leg of 24.51 to claim gold for Kinross in 1.42.71.