The Logic to Human Behavior