create G command