gm + residu  1d