In the middle of making a nested template function.