How does perception affect behavior