Added new template with explicit types