further template work