Logan,Clark,and D did one function as a template