No, yours was fine -- function templates are useful too