This is an example of positive reinforcement. Positive reinforcement rewards a person or thing for performing a desired action or behavior. By rewarding the person or thing every time it does the desired action you increases the chances of the action or behavior being done again. It a type of subconscious training.