 This aspect of our attentional orienting is under the control of the person who is attending.It is mediated primarily by the frontal cortex and basal ganglia as one of the executive functions.Research has shown that it is related to other aspects of the executive functions, such as working memory, and conflict resolution and inhibition.