added in functionality for non namespaced templates