remove print statements and handle failure more cleanly
Check return value on store_fact