add security can use function