simplified tgdi context use