inlined ga code