extend g:, t:, b: