start hooking up templates