g was based