Moved node-facts to external function. #2