a demo for g3m