updated factual query functions. 3 tested. 4 not tested. still TODO: staying in
factual test cases
added all