adding in GD modifications