Through trial and error, a rat learns to run a maze without mistakes to receive a food reward. this is an example of __________.