moved gather-facts