init of encpsulation