opening templates