Cortical activity and cognitive functioning.