The law of effect states that

effect is strong if the effect is long lasting

close temporal contiguity is the key characteristic in forming an association between stimulus and respons

Response generalize across similar surroundings

A response will be strengthened if the organism is rewarded for that response