flesh out template persistence