change where we call template