Needs to be tested

needs to implement the functions from facts management impl