check for template module before adding this in