groundwork for better templates