When a strange dog approached Morgan and Harrison Atkins outside Onekawa School, the pair knew just what to do.
A mere three weeks earlier, Napier City Council had visited the school to run its Dog Education programme, which teaches children how to be safe around dogs, especially those which are alone.
Morgan, 10, and Harrison, 6, were walking to school and were just past the bus stop, when the dog started following them.
"Harrison gave me his scooter, and he started putting his bag out in front of him, and then I did the same, and I picked his scooter off the ground, and I started shaking it in front of us, and he stopped for a minute and backed off."
She said was feeling a bit nervous when the dog started approaching them, especially because it was closer to Harrison.
Harrison, however, said he "wasn't feeling that nervous".
Onekawa School principal Steve Bloor, said he was incredibly proud of the two students.
"I was on road patrol, standing in the middle of the road, and this stray dog came up to two of my students.
"He didn't have a collar, so he looked like a real stray dog, and we didn't know if he was a friendly dog or not a friendly dog."
He said he was unable to get to the students immediately, but saw them do what they had learnt in training.
"They weren't scared, they weren't panicked, they said they remembered what happened from the training so they did exactly that."
He said without the training from the council, the siblings would not have known what to do, and the situation could have potentially become dangerous.
Animal Control Officer Luke Burton said it was great to hear the two children remembered what to do when the dog approached them.
"They both acted bravely, confidently and safely.
"I'm so pleased the advice I was able to pass on to the children recently has helped to keep them safe in this situation."
So far this year, Napier City Council has delivered the education programme to 1500 across Napier, using a life-sized rottweiler toy named Fluffy to demonstrate various situations.
Burton said if a dog is on its own, leave it alone.
If possible, children should safely cross the road, and tell an adult about the dog.
He said if approached by the dog, do as the Atkins siblings did, putting an item such as a schoolbag, scooter or bike in front of them and backing away slowly while shaking the item.
He said it was important to not run or turn your back, but do not look the dog in the eye or show your teeth.