can now handle templates (no recursive check, yet)