basic template integration