How Does Perception Affect Behavior