xsh_und_gauss draft for Luca