simplified protection util