add GA code
Merge pull request #8 from potch/master

add GA code