Purpose in life moderates the relationship between perceived discrimination and cognitive functioning in midlife and older adults · Study