a little first experimentation with templates