add basic protect