Adding GET template function