wrote more gdm stuff