security custom function