Main template ready