added in ggt setpm and sendy