added logging in ggt