changed obj into object inside the facts