The fact that your kid is praised for his good behaviour is due to the whole of your parenting and not just for spanking/not-spanking. We do spank our kids from time to time, when they are out of control, and guess what: we are also often praised for their good behaviour, they even got awards for being so good.