Behavior is shaped and maintained by its consequences