safefunc
