beginning template integration