works on Fact resource