key is also part of template