small template function update .