secure initialization