Format ga code