How does a person learn optimism?