Corrected the name of a function- arg2 to tamplateName