Hey you! Yes, you! Thank you for adding beauty to the world!
Definitions of law of effect:
noun: (psychology) the principle that behaviors are selected by their consequences; behavior having good consequences tends to be repeated whereas behavior that leads to bad consequences is not repeated