making templates