updated ga code