created the foundation for templating