recursive set add and nullary functions

recursive set add and nullary functions