added g09 testing code and it seems to work