More specifically, it was found to be the function of the prefrontal cortex,[25] and evidence suggest that these executive functions control processes such as planning and decision making, error correction and assisting overcoming habitual responses.