create a directory for system G
need to fix side effects.