open with -g option