got templates working a little. cleanups