completion for g