updated g3 and h3 with new template