capture templates