added listeners to template, some hooked together