they 'd almost loaded all the children onto the bus when hans , who brought up the rear , turned and spied a puppy who had pulled loose from his leash and was tearing across the grassy lawn , barking madly .