understanding cognitive function