added secure base template