protection from external code