added let to gm