change to getAllFacts and move process id inside request