Text this: Mg-doped LaAlO3 structure