second addition. misunderstanding with templates