We seek to investigate the consequences of bariatric surgery on liver and brain function with a special focus on NASH patients. The investigations will comprise examination of the capacity for urea synthesis and various psychometric and neurophysiological tests to evaluate the patient's cognitive functions before and 18 months after surgery.