more template loader design