uncommented ga code