add gg to templates; tweak for clarity