add G to end