Init at MAC
Modify template