add missing retfun